package com.account.book.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @author liang-hw
 * @className CategoryBaseEnum
 * @description 基础分类状态
 * @date 2024/01/09 13:56:41
 */
@Getter
@RequiredArgsConstructor
public enum CategoryBaseEnum implements EnumTemplate {
    /**
     * 0-禁用
     */
    DISABLE(0, "禁用"),

    /**
     * 1-启用
     */
    ENABLE(1, "启用");
    private final Integer value;

    private final String title;

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String getTitle() {
        return this.title;
    }
}
